Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 4b76387f2c3f4698032f1d3cab84227cc4664d54


Parents : 69c4984
Author : Mark Qvist <mark@unsigned.io>
Date : 2022-09-13T21:47:41+02:00

Request announce for new conversations with unknown destinations

Changes

1 files changed, 4 insertions(+), 0 deletions(-)


Diff

diff --git a/nomadnet/ui/textui/Conversations.py b/nomadnet/ui/textui/Conversations.py
index 6d2895b..951b452 100644
--- a/nomadnet/ui/textui/Conversations.py
+++ b/nomadnet/ui/textui/Conversations.py
@@ -294,6 +294,10 @@ class ConversationsDisplay():
self.app.directory.remember(entry)
new_conversation = nomadnet.Conversation(source_hash_text, nomadnet.NomadNetworkApp.get_shared_instance(), initiator=True)
+
+ if not RNS.Transport.has_path(source_hash):
+ RNS.Transport.request_path(source_hash)
+
self.update_conversation_list()
self.display_conversation(source_hash_text)


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────